import requires from "../requires";


//获取歌单详情页数据
export const reqMusicDetailInfo = (id) => requires({
    method: 'get',
    url: `/playlist/detail?id=${id}`,
})

//获取歌单全部歌曲
export const reqMusicListInfo = (id) => requires({
    method: 'get',
    url: `/playlist/track/all?id=${id}&limit=20&offset=0`,
    withCredentials: true
})


//获取歌词
export const reqMusicLyricInfo = (id) => requires({
    method: 'get',
    url: `/lyric?id=${id}`
})

